package com.xiaoshuidi.cloud.module.rooms.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
@Data
public class RoomEquipmentVO {
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 资产状态
     */
    private String status;


    @Schema(name = "公寓ID")
    private Long apartmentId;

    @Schema(description = "房源ID")
    private Long roomAreaId;

    private String buildNo;
    private String unitNo;
    @Schema(description = "楼层id")
    private Long floorId;

    private Long mainRoomId;

    @Schema(name = "关联的房间ID")
    private Long roomId;

    @Schema(description = "是否是公区")
    private Boolean isPub;

    /**
     * 资产编码
     */
    private String code;

    /**
     * 资产类别ID
     */
    private Long categoryId;

    /**
     * 位置类别
     */
    private String positionType;


    @Schema(name = "位置类型名称")
    private String positionTypeName;

    /**
     * 所属方
     */
    private String own;


    @Schema(name = "所属方名称")
    private String ownName;
    /**
     * 关联的供应商ID
     */
    private Long supplierId;



    @Schema(name = "资产类别名称")
    private String categoryName;

    /**
     * 购买时间
     */
    private LocalDate purchaseTime;

    /**
     * 保修截止时间
     */
    private LocalDate warrantyTime;

    /**
     * 售后电话
     */
    private String afterSalesTel;

    /**
     * 采购价
     */
    private BigDecimal purchasePrice;

    /**
     * 定价
     */
    private BigDecimal price;

    /**
     * 负责人
     */
    private String manager;

    /**
     * 负责人ID
     */
    private Long managerId;

    /**
     * 规格
     */
    private String specification;

    /**
     * 具体方位 (0, 其他),
     (1, 厨),
     (2, 卫),
     (3, 主卧),
     (4, 次卧),
     (5, 阳台),
     (6, 过道),
     (7, 厅),
     (8, 整套)
     */
    private String position;

    @Schema(name = "具体方位名称")
    private String roomPositionName;

    /**
     * 备注
     */
    private String remark;

    /**
     * RFID
     */
    private String rfid;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 使用期限
     */
    private String shelfLife;

    /**
     * 计量单位
     */
    private String unit;

    /**
     * 内部资产编码
     */
    private String assetCode;

    /**
     * 赔偿金额
     */
    private BigDecimal compensationAmount;

    /**
     * 是否确认
     */
    private Integer confirmStatus;

    /**
     * 赔偿备注
     */
    private String compensationRemark;

    /**
     * 是否确认赔偿
     */
    private Integer compensationStatus;

    /**
     * 图片列表,最多五张
     */
    private String pic;
}
